package com.miniportal.base.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * TODO
 *
 * @author zhouje
 * @since 2022/5/31 0:35
 */
@Data
public class ContactPeopleDto {
    private Long contactId;
    @NotBlank(message = "联系人不能为空")
    private String contactName;
    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;
    private String contactWechat;
    @JsonFormat(pattern = "yyyy-mm-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-mm-dd")
    private Date updateTime;

}
